Forums

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

Automating Sprint to ticket

Kasper Ell
Contributor
May 9, 2022

I am currently trying to automate a task.

When a new sprint is created, a new change ticket will be raised in a different project. (that's the part that is working)

New problem for me is, i need to link each issue created in the sprint to said change ticket, I can link the issues manually, but i cant figure out how to automate the process.

 

1 answer

1 accepted

1 vote
Answer accepted
Guilhem Dupuy
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 9, 2022 edited

Hi @Kasper Ell ,

You can achieve that using the following automation rule :

 

sprint community.png

 

In order to filter the issues in the newly created Sprint, you can use the following JQL in the Branch part of the automation :

Sprint = "{{sprint.name}}"

 

Does it solve your problem ?

Guilhem

Kasper Ell
Contributor
May 9, 2022

Hi  

 

Thanks for the reply!

 

When i try to execute the rule pasted below i get following error:

 Branch rule/Related issues

Error searching for related issues. This is most likely because the following issues don't have a related issue of the type you specified. Try narrowing your search to only include issues that contain links to related issues:

NO ISSUE: "sprint = SEC Sprint 2" - Error in the JQL Query: Expecting either 'OR' or 'AND' but got 'Sprint'. (line 1, character 14)"

 

 I am not sure if the problem is that i want to create the new issue (change ticket) in a different project?

 

I am a complete beginner to Jira, and have only been using it for 2 weeks.

Guilhem Dupuy
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 9, 2022

Oh my bad, I gave you an incorrect JQL request, the correct one is the following : 

Sprint = "{{sprint.name}}"

I edited it in my original answer too :)

Kasper Ell
Contributor
May 10, 2022

@Guilhem DupuyYou are a legend!

Thank you so much!

Like Guilhem Dupuy likes this
Guilhem Dupuy
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 10, 2022

Ahah you're welcome @Kasper Ell !

Like Kasper Ell likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events