Discussions
-
Has JQL status value become case sensitive recently?
For the longest time, I could do a jql of "status = CANCELLED" or "status = Cancelled" and both would return the same amount of rows, however this morning after the Cancelled status's name was erroneously changed, I changed it back to the original value from the audit log (Cancelled), and doing a JQL of status = CANCELLED…
-
Conditional logic in JSON for Jira Automation Rules
The goal of this article is to showcase how to do IF/Else branching with variables, and then use said variables in JSON for advanced editing. The problem: I got a ticket recently to setup an automation rule that would allow one work item to edit another linked work item. Pretty simple, shouldn't take too long. But as is…
-
Forge pricing for jira plugin that indexes properties
Hello all, I'm wondering if I can get some clarity around this topic as the Forge cost estimator assumes the developer knows the usage of their plugin. I'm working on a very small plugin that would only index space attributes in JIRA so they can be JQL'd. The entire plugin is just a manifest.yml file that declares the…
-
Creating Forge app with oauth 2 3LO instead of an API token
Hello, I'm gonna preface this with saying I'm very new to forge development (never used it before) and not a programmer in general. With that out of the way, I'm wanting to make a small forge app to index JIRA space properties so I can use them in JQL. Context for wanting to do this is I was using a third party plugin that…
-
Scriptrunner validator letting transition happen even though return is false
Hello! I'm writing a scriptrunner validator on create that checks the values of certain fields and lets the ticket be created accordingly. Script below: issue.customfield_14690.value == "No" ? true : issue.customfield_14690.value == "Yes" && issue.customfield_14613 ? true : issue.customfield_14690.value == "Yes" &&…
-
Update space property in different space than trigger issue via Jira Automation
So I have an interesting problem to solve. I have a sort of repository JIRA space with each work item correlating to a different JIRA space. Essentially our structure is we serve a lot of clients, each client has their own JIRA space, and the repository space has a work item for each client, with a field called JIRA…
-
Scriptrunner post function script not fully running
Hello, I have a very interesting issue I'm running into, and for the life of me, can't figure out why it's happening. I have an any to all transition in a workflow that runs a scriptrunner script, the script looks at two fields, depending on the values of those fields, it will do the following: * Go through each linked…
-
Jira Workflow Toolbox Create Issue post function not passing on values in transition screen
Hello! I'm trying to setup a create issue post function using JWT, The way my transition works is it's an any to all transition that pops up a screen for user input, that input is then used in the create issue post function that creates the issue in a different project under a parent set by a parser expression. Now the…
-
Issue Picker FIeld with Jira Workflow Toolox postfunctions
Hello, I am currently using the Issue Picker Field plugin by Codecentric AG, and using the Jira Workflow Toolbox by Decadis plugins. I have an issuepicker field defined in the issue picker field plugin, and I can reference the field in JWT postfunctions through Jira Expression only: However when I switch to general, I can…
-
Migrating from DC to Cloud, can I synchronize Scriptrunner JQL before I move any issues?
Hello, I'm currently migrating from a DC installation to a cloud installation for JIRA, we're using scriptrunner and I had to do the initial JQL keyword sync described here: https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/scriptrunner-enhanced-search-jql-keywords-synchronization However as…
-
Re-migrating the same workflows after making changes in Datacenter
Hello Atlassian community! I need a sanity check, so I'm migrating a few hundred projects from DC to Cloud over phases, I'm planning to do the following: Phase 1: Migrating 1 "cloned" project of every workflow scheme/workflow to Cloud so myself and my team can start configuring workflows early in Cloud. Those cloned…
-
JIRA responds with HTTP 400 on issue create
I have a python script that uses the Atlassian REST API to create issues on JIRA, the script itself works fine, the problem I'm having is a specific post function on my issuetype that kills the workflow and makes JIRA not send the issue key back to my script. The function is the create issue function by JWT (JIRA Workflow…
-
Scriptrunner listener returning a log for every field in an issue
Currently working on a listener that listens to issue updated events, when an issue updated event happens, it looks through a list of fields to see if they changed, if they have, it then updates a counter by 1. What I noticed is whenever I make even one change to an issue, I get at least 15 logs. I was able to see the…
-
Automation running many times per change
I currently have a set of 4 automation rules that listen for field changes across a healthy amount of fields, once a field changed event is fired, the automation rule runs, checks the issue type, then compares the issue create date against a constant date, then triggers a transition on the issue where the event was fired.…
-
Recently updated to JIRA 9.12.5, and noticed there's a currentproject add on that is not compatible
Hello all, We recently updated our sandbox environment to JIRA 9.12.5 with a prod update to follow soon, however in testing I've seen that there is a currentproject add-on. I was under the impression that the currentproject() function was just native to jira, however upon googling it looks like I was wrong in assuming so,…