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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Anna Hryhoruk _Appfire_ thks your reply,
Java script code can archive it. can you show me a simple demo js ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.