Update Issue Custom Field

I am trying to update a custom URL field on a transition using the Update Issue Custom Field post function.

I want to insert the project key into the URL as we have a complimenting Confluence site for each project using the workflow using the same key for the space key.

I have tried...

https://company.confluence.com/display/%%project_key%%/Project+Charter

https://company.confluence.com/display/%project_key%/Project+Charter

https://company.confluence.com/display/%project%/Project+Charter

https://company.confluence.com/display/%project.id%/Project+Charter

Is there any way that anyone knows of to substitute a system variable in this post function?

1 answer

Hi Andrew,

 

The project.id should work. JIRA also accepts the variabe project.key, worth a try. wink

You can see more details on page below:

https://developer.atlassian.com/static/connect/docs/latest/concepts/context-parameters.html

 

Hope it helps.

 

Cheers

When I put it in %project.id% it just shows that in the URL When I put it in {project.id} I get an illegal operation error message when I try to do the transition. When I pu it in as project.id I just get that in the URL. Nothing seems to work in the Update Issue Custom Field to translate the value of the variable... i am going to do it when I auto create the issue with Bob swifts create on transition instead. It's a little early in the process but it works. Still would like to know if there is a solution out there..

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,969 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot