Answer the question
In order to leave comments, you need to log in
One-time transition to JIRA?
Good afternoon!
Can you please tell me how in JIRA you can organize a "one-time" transition (an action that will be performed once)?
We need a button, pressing which returns to the original status, which was before pressing the button. When the button is clicked, a webhook (without events) with a pipeline trigger in GitLab twitches. The pipeline needs to be executed once, so the button should immediately disappear when clicked.
The transition looks something like this ("Expand environment" must be allowed once):
It turned out to be done by adding a custom field with checking the value in the transition. After the triggered pipeline is launched, the value of the field in the JIRA request changes and the button disappears. But this is not convenient because:
Answer the question
In order to leave comments, you need to log in
Good afternoon!
I would do the following,
1. Set contidion to null on the custom field for your transition
2. Next Webhook
3. Next Post-function to enter a value in the custom field so that the transition button disappears
https://confluence.atlassian. com/adminjiraserver/a...
and so I advise you to ask for efficiency in https://community.atlassian.com
And update Jira :)
Sincerely,
Tsymzhitov Gonchik
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question