Forums

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

Add issue to active sprint automation for multiple boards

Kuba
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2022

Hello,

I've created an automation that handles a due date on an issue.

Every day Jira looks for a issue with a

duedate = 0d 

and puts a comment in there that it's time to work on that issue.

I also wanted to move that issue to an active sprint in the project the issue belongs to.

Is there a way to do it? 

I don't want to choose the board. I want to check the project the issue belongs to and add the issue to an active sprint in that project.

 

Thanks! 

3 answers

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 16, 2022

While you have only one board associated to each of your projects, Jira is designed to allow for much greater flexibility.

Also, note the following:

  • A Sprint is defined in a board, not a project.
  • And the issues contained in a board are based on a filter. That filter can encompass data from 1..n projects, by design in Jira.
  • And, even though the Sprint 1 may be defined in board A, and board A's filter may be specific to a single project B, Jira design allows for adding issues to Sprint 1 even if those issues are not within the scope of board A's filter and/or not contained in Project B.

Because Jira is designed to be very flexible in how it is used, there is really no built-in way for Jira to automatically determine that an issue in a given project is included in only one board's filter.

0 votes
Kuba
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2022

Hi @Trudy Claspill 

Thank you for your asnwer.

We have one board per project so I hoped I can find the project a task is in and then find the only active sprint in this project.

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2022

Hello @Kuba 

Welcome to the community.

A project can have multiple boards associated to it, and each board can have multiple active sprints.

How would you expect the automation to know to which board and which active sprint the issue should be added?

M0214104
Contributor
February 1, 2023

In the automation can be chosen, which "active sprint" to be moved into - but somehow this does not work? Any idea why?

editissue_sprint.JPG

editissue_activesprint.JPG

No real error, but does not move the issue into the sprint...
editissue.JPG

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2023

@M0214104 

Please start a new Question post for your issue, as the original post is over a year old and is not about receiving an error in automation when trying to set the sprint field.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2023

@M0214104 

For the issues that is being processed by the automation, can you view that issue in the UI and set the Sprint field directly?

The Sprint field must be available to edit on the screen for that issue in order for you to be able to edit that field through an Automation rule.

Adam Ziecik
Contributor
March 2, 2023

@M0214104 - did you find the reason why you got this error? I am facing the same issue.

M0214104
Contributor
March 2, 2023

Hi @Adam Ziecik 

Actually yes!

For me it was changing the automation from a "single project automation" to a "global automation" as it concerned several projects and not just one.

After adding the other projects, the automation was successful.

Here some screenshots:

02-03-2023_10-47-12.jpg02-03-2023_10-44-30.jpg

 

Hope this works for you as well!

Adam Ziecik
Contributor
March 2, 2023

@M0214104 thank you for this. I was referring to this issue that yo reported here. Is this how you fixed it?Capture4.PNG

M0214104
Contributor
March 2, 2023

@Adam Ziecik  yes - this fixed it for me, changing to multiple projects as i had multiple in the automation and did not think of it.

Adam Ziecik
Contributor
March 3, 2023

@M0214104 - thank you for replying. I have tried the same but it did not solve my issue unfortunately.

Suggest an answer

Log in or Sign up to answer