End of Due Date

hi All

In Atlassian support, after 5 days from Due Date, they system adds commend into the Issue automatically.

Could you help me how to do it in Jira?

Thanks in advance.

1 answer

0 vote

See https://confluence.atlassian.com/display/JIRA/Jelly+Escalation. You can modify it as needed! Something like this:

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" >
<jira:Login username="atlassiansupport" password="[your password]">
    <log:warn>Running Comment issues service</log:warn>
    <!-- Properties for the script -->
    <core:set var="comment">This is your comment</core:set>
    <core:set var="filter7Days" value="11505" />
 
    <!-- Run the SearchRequestFilter -->
    <jira:RunSearchRequest filterid="${filter7Days}" var="issues" />
 
    <core:forEach var="issue" items="${issues}">
        <log:warn>Commenting on issue ${issue.key}</log:warn>
        <jira:AddComment issue-key="${issue.key}" comment="${comment}"/>
    </core:forEach>
</jira:Login>
</JiraJelly>

Thanks for your support, but I need to add commend into issue only (do not need to inactive the issue) and same date with due-date. It means to remainder staffs that "Today is deadline of the task"

Can you help me to modify script?

thanks in advance.

I have added a sample code. Not tested!

Hi Jobin

Thanks, but code is find issues in 5 business day rather than find issues has due date = today()

<jira:RunSearchRequest filterid="${filter7Days}" var="issues" />

No, the code only runs a filter. You can run any filter that you have and use the filters id instead of 11505 in the example.

Just create a filter with due date as today. duedate >= startOfDay() or something!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

67 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you