It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Resolution field does not update when create an issue ondemand

karthik A Sep 23, 2013

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.

12 answers

1 accepted

0 votes
Answer accepted
Rambanam Prasad Sep 23, 2013

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

Joseph Pursel Jun 16, 2017

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 vote
Timothy Chin Community Leader Sep 23, 2013

Screenshots?

1 vote
Bharadwaj Jannu Sep 23, 2013

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

0 votes
Rambanam Prasad Sep 23, 2013

can you share your post function code?

0 votes
karthik A Sep 23, 2013

sorry, i am using in on demand.

0 votes
Rambanam Prasad Sep 23, 2013

which post function you configured?

0 votes
karthik A Sep 23, 2013

create issue

0 votes
Rambanam Prasad Sep 23, 2013

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

0 votes
karthik A Sep 23, 2013

hi prasad,

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

Rambanam Prasad Sep 23, 2013

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

0 votes
karthik A Sep 23, 2013

In the following link: https://confluence.atlassian.com/display/JIRA/Advanced+workflow+configuration#Advancedworkflowconfiguration-addtransitionvalidatorwd

i tried the special class paragraph, but it is not show the store issue

Bharadwaj Jannu Sep 23, 2013

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

0 votes
Gautham Ganesh Mar 06, 2019

How do I add the resolution screen and only have it show up either the close or edit but not create issue screen?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Software

Early Access: If you use Jenkins and Jira Software Cloud, you need to read this!

The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...

280 views 0 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you