System priorites prior code execution in workflow:
Critical
Serious
Important
Minor
I have workflow where i'm using post function to create sub task and under addtional issue action I have code:
condition:: issue.priority?.name == 'Important'
additional issue action:: issue.priority?.name = 'Minor'
If parent issue type is important then this line of code changes system jira priorities
After post transition new pririties
Critical
Serios
Minor
Mionr
You're setting the name of the priority object, rather than the issue priority. Restart jira, then use
issue.priorityId = '4'
There doesn't appear to be a question here. I can't guess if you are complaining that the priority is being changed or you intend it to change and your code isn't doing it correctly.
Could you describe the actual problem here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
screenshot for reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.