Forums

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

How do i can automate the assignee name in active sprint

Fahad Mubarik
Contributor
June 19, 2024

If any issue is move from backlog to active sprint it should be automatically assigned to user.

4 answers

3 accepted

0 votes
Answer accepted
Sagi Gueta
Contributor
June 21, 2024

Hey @Fahad Mubarik ,

I've revisited your requirements, and I've created this automation.

The automation will affect only created issues that were added to an active (open) sprint. If you create an issue and associate it to an unactive sprint, then it won't triggered.

Hope you'll find it usefull :)

 

image.png

Fahad Mubarik
Contributor
June 21, 2024

Screenshot 2024-06-21 142813.png

Like Sagi Gueta likes this
Fahad Mubarik
Contributor
June 21, 2024

@Sagi Gueta  i have make it more simple and it works

Like Sagi Gueta likes this
Sagi Gueta
Contributor
June 21, 2024

Looks good!

If you have a standard subscription in Jira (not premium), and you are running a big team, I'd suggest add a post-function within the workflow instead using Jira Automation. 

Atlassian changed their automation counting system so each account has 1000 success automation limit per month (the usage is presented in automation section). 

 

0 votes
Answer accepted
Marc - Devoteam
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.
June 20, 2024

Hi @Sagi Gueta 

Adjust the workflows related to the issue types used in the project.

Add a post function when is changes to a certain status the assignee is sst based on the actor of executing the transition.

This wil only work if issues that are added to a sprint also change status.

It has it's caviats, jusr as the automation @Ste Wright proposed.

0 votes
Answer accepted
Sagi Gueta
Contributor
June 20, 2024

Hey Fahad,

Can you please explain who should be the assignee in these cases? Is it suppose to be the person who added the issue to the sprint?

 

Fahad Mubarik
Contributor
June 20, 2024

No it is not the person who added the issue,i just want if any issue move from backlog to active sprint then it should be assign to "Fahad" like this

1 vote
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 20, 2024

Hi @Fahad Mubarik 

Can you clarify the logic for this?

For example, is it the user who moves an issue from the Backlog to a Sprint should be assigned the issue?

---

If yes, this might work (although it's not foolproof): 

  • Trigger: Field value changed
    • Fields to monitor = Sprint
    • Change type = Value added
  • Action: Lookup issues
    • JQL - issue = {{triggerissue.key}} and sprint in openSprints()
  • Condition: {{smart values}} condition
    • First value = {{lookupIssues.size|0}}
    • Condition = greater than
    • Second value = 0
  • Action: Assign issue
    • To = User who triggered the event

---

The rule checks if the issue is in an active Sprint, and if it is in at least one, it assigns to the user.

But the reason it's not foolproof is it's not checking the exact Sprint added, it's just looking for any Sprint which is active.

Ste

 

Fahad Mubarik
Contributor
June 20, 2024

Great Thanks 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events