I am working to complete the following statement but am having a heck of a time completing it. Can you help?
Here is the first thing:
If {{issue.effort level}} = "Value" set {{issue.effort level value}} = X
then
If {{issue.impact level}} = "Value" set {{issue.impact level value}} = Y
then
If {{issue.occurrence level}} = "Value" set {{issue.occurrence level value}} = Z
then
Set {{issue.priority value}} = X * Y * Z
This is how I can think to get it out of my brain. I would prefer to get rid of the first 3 lines and delete the "level value" fields from my custom fields. How do you define a variable for X Y & Z instead of going through setting a secondary value field?
If you are planning to use Jira Automation, you need to define the trigger first and then use the conditions and actions to perform the calculations. Link to the basics of jira automation: https://www.atlassian.com/software/jira/guides/expand-jira/automation
Regards
Hi Fabian,
Yes I was using the trigger to be when the issue was created. I have been working through getting the Advanced JSON conditions to accept the statements above, that is what I am asking for help on. I looked at the link and it discusses the basics which is helpful, but was already known.
I need help with writing the JSON.
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.