Forums

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

Jira automation is not setting the "resolution" field.

Balaji Cherukuri April 5, 2021

when I mark ticket as "Resolved" and "Won't Fix" via automation rule, automation updating as "Resolved", "Fixed".

 

What am I doing wrong?Screen Shot 2021-04-05 at 9.37.07 AM.pngScreen Shot 2021-04-05 at 9.38.48 AM.png

2 answers

2 accepted

1 vote
Answer accepted
John Funk
Community Champion
April 5, 2021

Hi @Balaji Cherukuri  - I suspect there might be a post function on the transition to that status that might be setting the field to something different. 

Balaji Cherukuri April 5, 2021

what is the "post function", how to find that?

John Funk
Community Champion
April 6, 2021

Go to Settings > Issues > Workflows

Search for the workflow being used and click on Edit

Then click on the line to the status - this is the Transition. When you do that, there will be a pop up that appears on the right side. There you can click on Post Functions. 

1 vote
Answer accepted
Bill Sheboy
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.
April 5, 2021

Hi @Balaji Cherukuri 

Would you please post an image of your entire rule and the audit log?  That will provide some context in case there is another path which is setting resolution.

Also, are there any workflow steps happening independently of the automation rule which could impact resolution?

Best regards,

Bill

Balaji Cherukuri April 5, 2021

Screen Shot 2021-04-05 at 1.53.09 PM.png

Bill Sheboy
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.
April 5, 2021

Your rule is attempting to:

  • transition all the issues found by the scheduled JQL to Resolved, and then
  • transition them again to Closed Without Validation.

I am unclear why you are doing two transitions. What is the purpose of that?

Regardless of that question, the second transition is probably what is un-doing your first transition's work/settings for resolution.

Balaji Cherukuri April 5, 2021

I added the second transition after the issue, nothing is ran with that config.

Balaji Cherukuri April 5, 2021

apologies, issue is due to the "More options"/"additional fields"

 

at the end of the text box default example is setting state as "fixed", after fixing that issue got resolved.

 

Thanks for your support.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events