Forums

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

Validating priority field

Grant Donovan
Contributor
April 19, 2018

I want to ensure that the priority field is completed on a particular project when the issue is created but this doesn't seem to be possible.

I am using Jira Cloud

When an issue is created it gets set as

Priority: Not Assigned

I want to ensure that this value is changed before the issue transitions to a status.  The Validator Regular Expression Check doesn't have the Priority field listed, so I can't use that one.

How can I ensure that the Priority field has been set to something other than Not Assigned

Thanks

Grant

2 answers

1 accepted

1 vote
Answer accepted
Bob Swift
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.
November 25, 2014

I can't help with the scripting problem, but, I can suggest a non-programming alternative:

Use the Create Issue post function from Create on Transition for JIRA. Then use %original_customer% substitution variable in the project field.

Simon Kegel //SEIBERT/MEDIA
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.
November 26, 2014

Thanks! I thought I can just set a fix value in the project field when Create issues with the post function. Makes much more sense than a script with less scripting knowledge :D

Simon Kegel //SEIBERT/MEDIA
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.
November 26, 2014

Then I just have a short question what exactly I have to fill in the Issue Key field when setting up a Link? The only thing I can't get to work now. I appreciate your reply.

Bob Swift
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.
November 26, 2014

Are you trying to link the new issue to the original issue as a Blocks link? Then use *%original_key%* and *Blocks* for the fields. The pick the link direction you need.

Bob Swift
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.
November 26, 2014

Ignore the *s, I don't know why we don't have wiki markup support in the comment editor.

0 votes
JamieA
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.
November 25, 2014

Can you give us more info on how it's not working?

An easier alternative might be to use the built-in script, "Clone and link" with some "additional code" for setting the project. I think this has been done before.

Simon Kegel //SEIBERT/MEDIA
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.
November 26, 2014

Ìt's not working like it does nothing .. But got another solution so it's ok. Thank you anyway :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events