How to transition linked issues in JIRA ?

There is a project A and project B. When I create a issue of B then simultaneously issue of A is created and getting cloned to B's issue.

My requirement is like when I transition the issue of A then automatically the corresponding B's issue should also transition. How to achieve this functionality ?

Please help me on this.

Thanks,

Rajesh

1 answer

1 accepted

0 vote

You'll need some code to do that.  A post-function on the transitions in A's workflow will need to scan the links to find the link to B and tell it to transition (including working out which transition to use, depending on its position in its own workflow and where you want it to go to)

There's a function for it in the JIRA Miscellaneous Workflow Extensions add-on, or you could do it with Script Runner, or your own code.

Hi Nic,

Thanks for your quick response.

Can JIRA Miscellaneous Workflow Extensions add-on solve my problem ?

If it can solve then does it support nfeed type custom fields ?

 

I don't know. 

It can "transition linked issues", quite flexibly, so in a broad sense it probably can solve your problem.  But all I know about your problem is that you want to transition a linked issue when an issue is transitioned.  So, if there are other complexities I don't know about, I don't know if it can deal with all of them.

I don't understand what nfeed fields have to do with transitioning issues.  They're not related.

Ok. Thank you so much Nic.

By the way can you tell me in detail how JIRA Miscellaneous Workflow Extensions add-on can be used. I mean what post-functions/ Conditions/ Validators should be used in the workflow to transition linked issues.


I'd use the "transition linked issues" post-function.

Ok. So by using this post function I can transition linked issues. Let me try and reach out to you if I face any further issues.

 

Hi Nic,

I am facing some issue in transitioning linked issue by using the JIRA Miscellaneous Workflow Extensions plugin. I have added the post-function transition linked issues in Opened --> Moved to Triaged state. But its not working.

Can you please help me to solve this.


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

412 views 3 11
Read article

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