The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • how can I set Epic during workflow transition ? It remains null if updated during workflow transition

how can I set Epic during workflow transition ? It remains null if updated during workflow transition

Sumit Kumar
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 Champions.
March 1, 2016

how can I set Epic during workflow transition ? It remains null if updated during workflow transition

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Sumit Kumar
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 Champions.
March 1, 2016

I found out the solution, You will have to have an "edit permission" on the project to be able to successfully update epic link during workflow transition.

If the edit button is not required to be shown it can still be disabled using workflow properties.

 

But this is simply a workaround and not a proper solution.

 

Thanks,

Sumit

0 votes
Boris Georgiev [Appfire]
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 Champions.
March 1, 2016

This seems like a dublicate of this question https://answers.atlassian.com/questions/37058984

The format of the value should be "key:issue_key" i.e. key:WW-1 assuming your epic key is WW-1
Sumit Kumar
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 Champions.
March 1, 2016

I can select the value of an epic on workflow transition but when I complete my workflow transition the value appears to be null again. So I am guessing there should be some post function required to set the value once workflow transition is executed so as to store this value.

 

 

Boris Georgiev [Appfire]
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 Champions.
March 1, 2016

I thought you already added a post-function that sets the value smile.

So, install an add-on which allows you to set custom field value in a post-function and use it it set the Epic Link. Here're some add-ons that will allow you to do that:

JIRA Suite Utillities, Script Runner, Misc Workflow Extensions, JJUpin

Sumit Kumar
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 Champions.
March 1, 2016

I found out the solution, You will have to have an "edit permission" on the project to be able to successfully update epic link during workflow transition.

If the edit button is not required to be shown it can still be disabled using workflow properties.

 

But this is simply a workaround and not a proper solution.

 

Thanks,

Sumit