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: 

Change custom field status to another status only if the field status is not somthing

Hadas Hamerovv
Contributor
July 28, 2021

Guys,

Created a custom field named 'Went back' and in the transitions I change its status with post function to 'Went back'.

Now, if the issue is closed (Done) and the 'Went back' field is clear it means that it moved only forward in the process. In these cases I want to change it's status to 'Great job'

How can I do that in JQL?

I wish to write JQL in the last transition (to DONE) but I don't know how to write the condition.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Hadas Hamerovv
Contributor
July 28, 2021

Ok. This is naturally done with rules (under automation) and not with JQL

0 votes
Nic Brough -Adaptavist-
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.
July 28, 2021

JQL is for finding issues, not updating them.

I am sorry, but I am struggling to understand what you are saying here - the word "status" seems to be being used to say two different things, and I cannot quite see what the intention is.  When you say "custom field status", do you mean the status of the issue, or the value of the custom field?  (value, not status)

Hadas Hamerovv
Contributor
July 28, 2021

Yes Nic, you are right.

I am new to Jira so I ask alot of stupid questions.

I managed to perform this with automation. Created a rule which does that.

Thanks for reaching out

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events