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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,410
Community Members
 
Community Events
177
Community Groups

Autolinking tickets to a particular issuetype within a fixversion

The question is:
Is there a way in Automation for JIRA to automatically link tickets that are within a fixversion to a specific ticket type also within that same fixversion?

I would run this on the scheduler trigger, but the goal is this.

Fixversion is established: lets call it release-abcd


I have a current working automation that when a new fixversion is created it creates a ticket of issuetype called "Release Candidate" and added the created fixversion to it.

If any tickets (bug, task, story) are added to the above fixversion, I ideally want to have something auto link those tickets to the Release Candidate ticket which is also within the same fixversion.

There would be only 1 RC ticket per release and only 1 RC ticket per fixversion.

Is this even possible?

1 answer

1 accepted

1 vote
Answer accepted

Hi @Larry Katz 

To confirm:

  • There is one issue per release of type "Release Candidate"
  • RC has a FixVersion, unique to it
  • If Bugs, Stories or Tasks have the same FixVersion added to it - they should auto-link to the RC issue

------------------

If yes, this is how I got it to work:

  1. Trigger: Field Value Changed - FixVersions
  2. Condition: Issue Fields Condition - Issue Type (field) is one of (condition) Story, Task, Bug (value)
  3. Branch: JQL (type of related issue) - JQL: issuetype = "Release Candidate"
  4. Condition: Issue Fields Condition - FixVersion (field) equals (in any order) (condition) Fix Versions from the trigger issue (field)
  5. Action: Link Issues - <<link type here>> (this issue) trigger issue (issue)

------------------

^ Remember for the link type in Step 5 - you are linking from the Release Candidate to the other issue, due to the Branch in Step 3.

You can modify part of the rule depending on your specific need - for example:

  • Modify the condition in Step 4 to equal all FixVersions in a Release Candidate if there are more than one, or any other condition you prefer
  • Add an additional Condition before the branch, to ensure FixVersion is not empty on the trigger issue, if there are Release Candidates with no FixVersion

------------------

Let us know if this works for you :)

Ste

This is EXACTLY what I needed, and works perfectly, Thanks much! I was looking at the trigger wrong, field value changed for fixversion for sure did it. Much Appreciated.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events