Resolution field does not update when create an issue ondemand

hi guys,

i am new to jira. i am create a workflow like when the transition starts it will be closed and the Resolution filed set into Resolved. After the transition, the project gets the strike out but the Resolution field does not set into Resolved.For that i am adding the Post Function but it is not works and also i am trying through the screen it is also not works. so kindly provide me the solution if anyone knows.

Thanks in advance,

Karthik.

11 answers

1 accepted

the following way you can configure postfunction on create issue transition

1.Go to Administration > Workflows

2.Click the link for the workflow in 'Steps' column

3.Click 'Open/New' link in the Step Name column

4.Click 'Create Issue' link in the Workflow browser (the inbound transition that arrives into the Open step)

5.Add a post-function, 'Update Issue Field', and set the Resolution field to desired Value (if necessary, create a draft so the workflow is editable)

Make sure the Post-function is the first step in the list

3 votes
Pedro Cora Atlassian Team Sep 23, 2013

Setting the resolution on the issue create is a special case detailed on the Advanced Workflow Configuration:

If you need to set the Resolution field when creating an issue, add the Update Issue Field post function after the Creates the issue originally post function and after that, use the Store Issue post function. The Store Issue post function is useful for setting the Resolutionfield during issue creation.

(warning) However, keep the use of the Store Issue post function to a minimum, since this post function:

  • does not generate change history
  • is incapable of persisting fields that have a one-to-many relationship with the issue (for example, Version or Component)

For more details, check the entire documentation at https://confluence.atlassian.com/display/JIRA/Advanced+workflow+configuration

Thank you Pedro,

I could not set the Resolution during the Create Issue transition. The Store Issue post function placed after the Update Issue Field - The Resolution of the issue will be set to Resolved does change the Resolution.

My use case is a workflow which has only the Closed status and the initial Create Issue transition. Used to document a fix that has taken place and needs to be recorded.

1 votes
Timothy Chin Community Champion Sep 23, 2013

Screenshots?

Tell where the problem you are facing or in which transition you kept your postfunction?

can you share your post function code?

sorry, i am using in on demand.

which post function you configured?

create issue

comman, i am asking what post function you used to set resolution on create issue transition?

hi prasad,

i tried the steps you are giving but can't click into the 'Steps' column

create draft and try, can you share screen shot of your workflow?

you check for Add link in the postfunction section, then you find Store Issue postfunction

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,847 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot