Hi,
I have a field "Risk" on Epic which is a choiceList with values Red/Yellow/Green. Epics will have some stories linked to it and story will also have this Risk field, which will be provided by user.
For ex. An epic having 10 stories as child.
Is it possible to implement this scenario using automation in jira
Hi Omkar,
In your case I would build an automation with a trigger on the change of content of the Risk field on issuetype stories. You can follow that up by saving the parent key and subsequently using lookupIssues with a JQL query that tests for the two conditions, being parent key and Risk = Green.
Rinse repeat for Yellow and Red
You can store the lookupIssues.size parameter in a variable each time, so it can be used to test your three test conditions and setting the parent epic Risk accordingly.
I hope you find this useful
Dick
You can only have one set of lookupIssues at a time, so make sure the .size parameter is stored before you go for the next lookupIssues query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for helping. It was a little tricky, but it worked.👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Omkar,
If you post a picture of the automation, we're helping out people with questions similar to yours. Two flies in one stroke, so to say.
:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.