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,295,957
Community Members
 
Community Events
165
Community Groups

Automating Sprint to ticket

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

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

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 Community Leader May 09, 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 :)

@Guilhem DupuyYou are a legend!

Thank you so much!

Like Guilhem Dupuy likes this
Guilhem Dupuy Community Leader 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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you