Forums

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

Is there a way to keep issues summaries in sync after renaming one of them?

Curtis Woronuk April 9, 2018

For JQL Query purposes, we have setup a naming convention that follows:

 

[Epic Summary (Project Name)] - [Issue Summary(Task Name)] - [Subtask Summary(Task Construction)]

 

The problem is if anyone changes the summary at any level, the parent(s)/children do not reflect that summary. In response to this we have made recursion transitions, which if used properly, will keep the naming convention in check. That said, there are many issues that were created before this naming convention was developed and it would take a lot of work to correct them all.

 

Is there a way in Jira, Scriptrunner, or other addons, to do mass renaming of a Epic and their Children?

 

Was hoping for something like:

[Enter name of Epic]
Change Epic Summary to: (Enter Summary)
-- Change Children Issues to Epic Summary - Issue Summary
-- Change Sub-Task Issues to Epic Summary - Issue Summary - Subtask Summary.

 

Thank you for your time!

2 answers

0 votes
Nic Brough -Adaptavist-
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 Leaders.
April 9, 2018

I'd approach the problem differently.  Rather than botch a potentially variable summary field which is usually more useful when filled with a proper summary, provide a scripted field to search on.

A ScriptRunner Scripted field that adds up the strings you need together would be very simple to code for, just as searchable, and would mean no worries about updating old or edited issues - get the code right, then re-index the project once, and it's all done.

0 votes
Warren
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 Leaders.
April 9, 2018

Hi Curtis

This sounds like a task that would be suited to the REST API, if you, or someone else, has some programming knowledge. Via this, you would be able to change the Summary of any issue programmatically, using VBA, C#, Javascript ...

See https://developer.atlassian.com/cloud/jira/software/rest/#agile/1.0/ and https://developer.atlassian.com/cloud/jira/platform/rest/#api/2/-getPermissions for details on the API

Curtis Woronuk April 9, 2018

Hey Warren,

Thank you for your reply! I am working on a script now and will reply when I am done. Thanks again.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events