Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,145
Community Members
 
Community Events
184
Community Groups

How can I add a custom button on the Comments at input box bottom?

Hi people:

Is it possible to create or add custom button on on the Comments at input box bottom

we want to add new status after user creat new comments,so need a new button 

When button is clicked The ticket will change status to 'Pending' status

such as 

image.png

2 answers

1 vote
Dave Mathijs
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 30, 2023

Hi @yongjian zhang I don't understand why you would want this. If you have a transition from the current status to the 'Pending' status, just add a transition/workflow screen to it and you'll be able to change the status to 'Pending' and add a comment at the same time.

Apart from that, I think in Server/Data Center it should be possible with scripting, but I wouldn't know how.

Hi @Dave Mathijs  ,the button for user change status immediately,without having to slide to the top of the page.

 

about script devlop,can you show me more info.

Hello @yongjian zhang ,
That`s an interesting use case. Usually, when we are talking about automation that requires custom buttons, we suggest using the Power Action app . But unfortunately, it cannot add a button in that particular location you pointed out.
In theory, if you critically need it, you can use routine lfExecuteJS from Power Suite apps and write the entire Java script code and create it by yourself, but it is a complicated approach that requires javascript knowledge.
Also, as an alternative, you may check Power Action Panels , which can be located in the right column of the Jira issue screen or in the main body of the issue screen. Check more information about it here: Power Actions Panel
But looking into your use case from another view, I may also suggest using another automation type instead of buttons. Using Power Scripts app you can create customized listener that will trigger automated status change when the issue is commented by a particular user or the users that belong to a specific group/role etc. Please let me know if you are interested in that and I can help with some draft of such a script or just create a support ticket here and our team will be glad to help you.
Best regards,
Anna

Hi @Anna Hryhoruk _Appfire_  thks your reply,

Java script code can archive it. can you show me a simple demo js ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events