Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Transition of status when the log-work is done second time by user using script runner for jira

Pooja
Contributor
October 30, 2018

Hi All,

I have configured the workflow where I have BRD and Functional Understanding

When Ticket moves  First time from BRD To Functional Understanding It will ask for the approval

I have configured in such a way that It can back to BRD. 

When the second time It will come to BRD it should not ask for the approval and it should move to Functional Understanding

I am using script runner add-on. Can anyone suggest me how to configure in jira workflow

 

Regards,

Pooja

 

1 answer

0 votes
Gezim Shehu [Communardo]
Community Champion
October 30, 2018

You know, you could also use 2 different transitions, the 2nd having a condition that it was previously in X status. The 1st one can stay as the original.

Pooja
Contributor
October 30, 2018

@Gezim Shehu [Communardo]

Thank you for the suggestion. Can you explain me how to do that in script runner

Gezim Shehu [Communardo]
Community Champion
October 30, 2018

Leave the 1st transition as IS,  condition "requiring approval"(not sure what your implementation regarding that is)

2nd transition will have a script condition "Checks the issue has been in a status previously". Here you can select your target status as condition. This because issue has already been there with the 1st transition.

Suggest an answer

Log in or Sign up to answer