Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Groovy script for linking issue based on custom field entry

RichardW May 26, 2015

Scenario:

For each software release we create a release issue that tracks what items will be in a release. The items we are releasing have a field (Target Release Date) populated with the date of the release. On a nightly basis, I want a script to execute that will clear the links on the release issue (To prevent duplicates) and then link all issues that have a certain Target Release Date to the release issue with the linkissuetype of Release.

Ex.

Release issue: ACC-1111 - Production REL June 2015

Isues with Target Release Date of 2015-06-10: ACC-1051, ACC-1053

ACC-1111 linked to ACC-1051 and ACC-1053 as link issue type Release.

That night, those links are deleted and new links established based on the same criteria.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Timothy
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.
May 26, 2015

An existing post:

http://bit.ly/1JUHDUP

RichardW May 27, 2015

Unfortunately, that is a post function not necessarily performing the actions I specify above.

TAGS
AUG Leaders

Atlassian Community Events