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

0 votes
Alexej Geldt
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.
October 27, 2014

you will propably need following components:

  1. a custom field that is able to take tabular data. There are plenty of ways to do this. One possible solution would be to store the tabular data as string in a serialized map. 
    You could extend AbstractSingleFieldType<String> or StringCFType.
    You would need to implement converters which should serialize/desirialize the values from string to map representation and vice-versa.

    Examples

     

    public static byte[] serialize(final Object object) throws IOException {
    
            final ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
    
            final ObjectOutputStream oOut = new ObjectOutputStream(byteOut);
    
            oOut.writeObject(object);
    
            return DatatypeConverter.printBase64Binary(byteOut.toByteArray());
    
        }





  2. IssueListener which is listening on ISSUE_UPDATED event. Whenever somebody updates description on some issue, that listener would go ahead and set the values for your custom field.
    check: https://developer.atlassian.com/display/JIRADEV/Writing+JIRA+Event+Listeners+with+the+atlassian-event+Library

 

0 votes
Alexej Geldt
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.
October 27, 2014

there is already a plugin for doing this.

Consider if buying iDalko Table Grid is an option for your customers.

https://marketplace.atlassian.com/plugins/com.idalko.jira.plugins.igrid

edit: excuse me, just noticed that you already checked it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events