The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Need to add comment after creation of ticket 15 days

Lakshmi Yaganti
June 8, 2021

Hi ,

 

We having script runner plugin only, we don't have automation for jira plugin , so by using script runner plugin , Add comments to open ticket automatically after 15 days of creation.

 

I used this behaviour 

def OE = Created.getValue();
CommentManager commentMgr = ComponentAccessor.getCommentManager()

if (OE >-1d){

commentMgr.setFormValue("This ticket is opend from 2 weekss back ago please close this ticket")
}

Please share me code , if you have

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.