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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to automatically add label to an issue if it's added to the sprint after it already started?

So I want to automatically add a label to the issue when I move this issue from all issues to the active sprint. Is it possible and how do I do it? 

Best wishes

2 answers

Hi @Nikita Krivda 

There is no built-in way to find these added issues using JQL, and there is a suggestion to add this capability: https://jira.atlassian.com/browse/JSWSERVER-20097

If you have the ScriptRunner add-on, there is a function you may used to find them:

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_addedaftersprintstart

If you do not have that, and instead have the full version of automation for Jira, you could do this with automation rules:

  • Create a rule...
    • triggered on sprint started,
    • which adds a label to each issue, something like "Planned"
  • Create a second rule...
    • triggered on field value changed (for sprint),
    • add a condition to check for the sprint IN openSprints(),
    • add a condition for labels does not contain "Planned", and
    • then add the label "Unplanned"

Best regards,

Bill

Hi @Nikita Krivda ,

You can achieve this by creating an Automation Rule. @Bill Sheboy already provided the steps for that. Please create the Rule and let us know if you need further help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

750 views 12 19
Read article

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