Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira Lite link issues on creation Edited

Esther Strom Community Leader Jan 27, 2020

We're looking at using a Service Desk project with the out of box change management template. One of our uses for this is to set up a change request for a software release. However, because the service desk portal view doesn't allow linking issues, we need to find another way to link all of the issues to be included in the release request. Most of our requesters will not have service desk agent licenses (although they do have Jira licenses) so they will not be able to create the ticket directly in the project, or edit it after creation.

I had a thought of adding the fix version field to the request and then using an automation rule to create links to all tickets in all projects that have that fix version, but I don't know if it's possible. The only options I see for the Link Issue action is Trigger Issue or Most Recently Created.

2020-01-27 17_03_15-Automation rules - Jira Staging - Opera.pngAm I hoping for too much here?

1 answer

1 accepted

0 votes
Answer accepted
Simeon Ross Atlassian Team Jan 28, 2020

Hi Esther,

Thanks for getting in touch. The rule you're trying to do is pretty straightforward, but I have one thing to clarify before I can give you an example of how to achieve this.

Would you be using the fixVersion field itself or just a custom field that is a single version selector for the request? This'll affect how we go about solving it.

Cheers,
Simeon.

Esther Strom Community Leader Jan 28, 2020

Hi, Simeon. Originally I was thinking the native fixVersion field, but that would mean that someone with project admin access (most likely me) would have to make sure that all fix versions across all projects exist in the SD project to allow the portal customer to choose from. The same would be the case with a custom version picker.

What I'm thinking of now is just a single-line text field that we will train our users how to fill in (there aren't that many that would be submitting this kind of request). The expected value would be a single line with the value corresponding to an actual fix version value (we use numbers, so 18.1.5, etc.).

Simeon Ross Atlassian Team Jan 28, 2020

Hi Esther,

Okay, so if you're going down that path then it is fairly straightforward. I'd be doing this at issue creation and an example of how you might tackle this is:

s1.pngs2.pngSo the rule is triggered when an issue is created. We then use the branch on JQL to find all issues with a fixVersion same as that entered into the custom field. You can see that I've used smart values to reference this field. You can just use the field name rather than the customfield id, I just didn't know the field. Once we've branched onto these issues we just want to link them to the issue that kicked things off so we use the link action with trigger issue.

You may need to add some project restrictions but hopefully this should get you started.

Cheers,
Simeon.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

265 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you