Jira需要添加按钮到注释工具栏 [英] Jira Need to Add Button to Comment Toolbar

查看:665
本文介绍了Jira需要添加按钮到注释工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我们目前在我们的工作场所有Jira,没有Jira管理员。我感觉到任务,想知道Jira是否有我正在寻找的功能。



所以,当你有评论在Jira甚至在身体的Jira票。您可以从评论功能区(



正如你所看到的,我有兴趣能够拥有与粗体斜体或下划线
,但我想能够突出显示一些代码插入票证注释,并单击按钮,使其成为代码块。



任何人都知道我该如何做到这一点?

解决方案

我想你可以使用插件。




So we currently have Jira in our workplace and no Jira Administrator. I'm feeling up to the task and would like to know if Jira has the functionality I'm looking for.

So when you have comments in Jira or even in the body of a Jira ticket. You can italicize the text from the comment ribbon

As you can see I am interested in being able to have the same functionality as bold or italicize or underline but I want to be able to highlight some code that i insert in a ticket comment and click a button and make it into a code block. Or add curly brackets and make it a quote... Exactly like how StackOverflow does it.

Anyone know how I can accomplish this?

解决方案

I think you can use plugin for this. jeditor plugin gives you more options in text editors. all information you need is provided in above link.after installing this plugin you can change the text renderer as "JEditor Renderer". Marketplace: https://marketplace.atlassian.com/plugins/com.jiraeditor.jeditor

or you can use.....

Note:-I guess this is not the exact answer you need but I think you can use macros inside the comment field. ex:if you want to add panel in inside of comment you can simply use

{panel}Some text{panel}
{panel:title=My Title}Some text with a title{panel}
{panel:title=My Title| borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1| bgColor=#FFFFCE}
a block of text surrounded with a *panel*
yet _another_ line
{panel} 

and if you want to add code you can use...

--- Java example ---
{code:title=Bar.java|borderStyle=solid}
// Some comments here
public String getFoo()
{
    return foo;
}
{code}
*--- XML example ---*
{code:xml}
<test>
  <another tag="attribute"/>
</test>
{code}

here is a example screenshot..

follow this link for more information..

UPDATE with the plugin you can get something like this..I think this will helps you.

这篇关于Jira需要添加按钮到注释工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆