Forums

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

Behaviours - differentiate between creation and editing of an issue

Deleted user
December 18, 2017

Hello,

 

I would like a section of my Behaviours script to apply only to newly created issues, and not to issues being edited. How can I specify this?

 

Thanks in advance!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Ste Wright
Community Champion
March 19, 2022

Hi @Garden16_ 

For the base requirement - the number of times an Issue was in a Status - you should be able to just use the Scripted Field No. of Times in Status - see: https://scriptrunner.adaptavist.com/latest/jira/script-fields/no-of-times-in-status.html

Not sure how to do this within a time range personally, but this should get you part of the way there :)

Ste

TAGS
AUG Leaders

Atlassian Community Events