Forums

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

Parent child issue field sync with same JIRA project (custom issue type to epic to story)

Karen Cook
November 1, 2017

We have a scenario where we have a custom issue type (roadmap issue) which is a parent of an epic(s) which is the parent of story(s).

I have been searching for a plugin that would support this scenario:

I update fields in the top level roadmap issue and all of the child epics and stories get those fields updated as well.  All issues are in the same project.  I just want to keep all levels updated with the latest data as updated by the project manager in the roadmap issue.

I've looked at several plugins, but most seem to be for syncing of issues across projects or they support the sync of epics -> stories and stories -> sub-tasks.

Is there anything that will support my use case with a custom issue type and parent -> child epic -> child story?

My JIRA admins are also reticent to do custom scripting as they don't want to support it during JIRA upgrades, so scripting is probably out.

2 answers

1 accepted

0 votes
Answer accepted
Udo Brand
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.
August 15, 2013

Hi Justin,

as Bhushan noted you can use script runner plugin. Use following filter:

issuefunction in hassubtasks() and status !=closed and not issuefunction in parentsof("issuetype =sub-task and status != closed")

Then you can subscribe that Filter.

Udo Brand
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.
August 15, 2013

if you want the subscription on an hourly basis add

... and issuefunction in parentsof("status changed to closed after -1h")

Justin Cox
August 16, 2013

Ok, thanks for the information. I'll give that a try. Still working on getting script runner approved by IT :)

1 vote
Bhushan Nagaraj
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.
July 31, 2013

Hi Justin,

There are quite a few ways to do this. You can write a post-function for the sub-task close action to send a notification only if all sub-tasks are closed.

You can also write a listener. I have a tutorial available here for that https://bitbucket.org/bhushan154/jira-listener-tutorial/wiki/Home

Also check out the script runner plugin which can do a lot for you

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner

Cheers

Bhushan

Justin Cox
August 1, 2013

Hi Bhushan,

Thanks for the info. I'll definately keep looking at script runner, seems useful. The listener tutorial is probably a bit outside my skillset but I would like to ask if you can further elaborate on your first point;

You can write a post-function for the sub-task close action to send a notification only if all sub-tasks are closed.

Not sure I totally follow what you are saying there. Post function on a sub-task close but looks at other sub-tasks?

Bhushan Nagaraj
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.
August 1, 2013

Hey Justin,

Even this requires you to write some code. Send me your email id and I will be able to help you out with a plugin if I find some time this weekend.

Cheers

Bhushan

Justin Cox
August 15, 2013

Thanks for the offer Bhushan but to be honest, I would be more interested in an enhacement request that I could vote for. Not to down-play your willingness to help, I appreciate that but I really don't want to get into customizing at that level, nor do I have the technical skill to do it ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events