Forums

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

Post function with JQL query

Prabhu Prabhakar
Contributor
April 16, 2021

Post function with JQL query Is possible or not?

2 answers

1 accepted

1 vote
Answer accepted
Walter Buggenhout
Community Champion
April 16, 2021

Hi @Prabhu Prabhakar,

A post function is designed to perform an action, essentially update something. JQL is designed to search for issues, not updating anything. So I assume you would like JQL to act as a condition you would like to use prior to an update on one or more issues.

In most cases, automation rules are a great way to deal with that. When you use a workflow transition as the trigger of your automation rule, you can then perfectly add a JQL condition to select a set of issues and manipulate those further. 

Prabhu Prabhakar
Contributor
April 16, 2021

Thanks! @Walter Buggenhout 

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 Leaders.
April 16, 2021

What do you mean by "with JQL query"?

A post-function is an action that does something when a transition is executed.  There are uses for JQL in post-functions (for example "find all the subtasks and update one of their fields"), but your question contains too little information about what you're trying to do to tell me if that's the sort of thing you are looking for.

Please could you explain what you are trying to do?

Prabhu Prabhakar
Contributor
April 16, 2021

Got it. 

Thanks! @Nic Brough -Adaptavist- 

Suggest an answer

Log in or Sign up to answer