Forums

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

Can I use var within a JQL?

Aviya Oren November 15, 2018

Hi,

 

I am looking for a way to set a global var within my JIRA query so it will dynamically change from page to page according to the value the user will enter to the var for each page.

 

I didn't see so far any solution in Confluence except expensive plugins that I can't do for the moment.

 

 

Any help?


Thanks,
Aviya

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 16, 2018

Hello,

Natively in jira there are some options for variables in JQL such as "assignee = currentuser()" or "updated after startofday()" but these are going to be based off of static system variables and there are not options to change based on a user input, if you wanted to do this you would need to look into an add-on that could script the desired changes such as ScriptRunner as described in this previous post:

Regards,
Earl

Aviya Oren November 20, 2018

Hi Earl,

Thank you for your answer, I am familiar with Script Runner, I will check it again.

Regards,

Aviya

Suggest an answer

Log in or Sign up to answer