Forums

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

JETI: Initializing Due Date Field Question - Regex

Raina Arjona
Contributor
March 11, 2016

I'm currently on JIRA 6.4.8 and using JETI 6.3.0.15

I need some regex help initializing the Due Date field. It doesn't seem to be working properly. My regex passes the test fine in jeti, but when I send test emails, with the data the field doesn't initialize.

I'm using the following Field Context and regex below.

IfEmail Bodymatches(\W|^)Due Date:\s(\w+( \w+)*.+)(|$),setDue Datewith value from Capture Group (2) in new issues

The Due Date field is displayed on a ticket as dd/Mon/yy  which looks like 1/Mar/16 for example. I tried sending an email with Due Date: 11/Mar/16 as part of the email body, but the field does not initialize.

Is there an issue with my regex or is that field not able to be initialized via email?

I kinda feel like it's my regex. I had issues initializing a single select list custom field until I dialed the regex in properly.

Any help anybody would be able to provide me with is much appreciated! Thanks!

 

3 answers

1 accepted

2 votes
Answer accepted
Norman Abramovitz
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 Champions.
October 24, 2012
Vishnukumar Vasudevan
Community Champion
October 24, 2012

Thanks a lot Norman.

But, is there any work around in JIRA 5.1.3 ? I not that keen to install plugins.

Norman Abramovitz
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 Champions.
October 24, 2012

Without a plugin or writing your own code, no.

I can understand your concern about installing plugins because it makes things harder to upgrade, could add instability and adds more complexity, but Jira is designed to be extended so not all features will be in Jira by default. I took some plugins off my environment for some of these reasons.

This is one of the few plugins I think you should consider using after doing your own homework.

1) How long has the plugin been around and being maintained?
2) Does the plugin author respond to issues found in his plugin?
3) How many users have downloaded it and what they say about the plugin?
4) How active is the plugin author involved in the Atlassian ecosystem (or Jira itself)?
5) Does the plugin solve your immediate issue and provide potential future solutions?
6) Is the cost of the plugin worth the functionality it provides?
7) Whatever other questions, I should have asked but could not think of at this time.

Vishnukumar Vasudevan
Community Champion
October 25, 2012

Thank you for your time.

2 votes
Deleted user
October 24, 2012

I am sorry, not a validator in the workflow but a condition will do the trick. It will look like this:

All sub-tasks must have one of the following statuses to allow parent issue transitions: Resolved

Carsten Beck-Astrup
Contributor
October 25, 2012

I think he asks for somekind of automation, so the parent issue automoves to a new status ie. all subtasks are approved then the parent can be moved to "Ready" automaticly.

Vishnukumar Vasudevan
Community Champion
October 25, 2012

Yup, thats what I look for. You have got any workaround ?

0 votes
Deleted user
October 24, 2012

Build a validator in the workflow, which allows you to move forward, only if all subtask have reached their ``resolved state.

Vishnukumar Vasudevan
Community Champion
October 24, 2012

I need this to happen automatically. Also, I don't there an equivalent validator for this.

Suggest an answer

Log in or Sign up to answer