Forums

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

Need to apply the condition in workflow that the two custom field values should be same

Janaki.R
Contributor
February 28, 2022

Hi Team,

 

Need to apply the condition in workflow that the two custom field values should be same and also expected end date should get exceeded than only transition should be shown or else the transition should get hided.

We are in cloud and using scrip runner addon.

 

Thanks in advance!!

1 answer

0 votes
Crystelle S
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2022

So just to clarify, you want a ticket that is moved from one status to another to check 2 fields on the ticket for the same value and that the end date has been pushed past the original end date before the ticket is allowed to update to the new status?

The first bit sounds like the standard condition on the transition in the workflow manager.

The second sounds like a Script Listener situation which is very well documented here (https://community.atlassian.com/t5/Jira-questions/How-to-fetch-and-compare-previous-value-and-new-value-of-Due/qaq-p/1583571) so I will give credit where credit is due to Kristian Walker. 

Janaki.R
Contributor
March 3, 2022

Hi @Crystelle S ,

 

Here the listeners will not help me i need the workflow conditions to hide the transitions looking for the code here.

Thanks for your reply. 

Suggest an answer

Log in or Sign up to answer