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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Issue creation via REST API, modification afterwards? Edited

I have looked into creating recurring tasks via REST API: 

Thinking about the rather "complex" process of automatically creating tasks via commant to REST scheduled by CRON (my godness..) the result is very unsatisfying: The new tasks end up on the bottom of backlog, no assignee, no notification.

 

I couldn't get any mor information into the task at creation.

Also I couldn't add a variable for month into the task summary so i might be able to:

1. create task "Monthly ${Month}"

2. edit task "Monthly ${Month}" afterwards

Any clues how to get better results?
This is my script & result:

2017-07-14 08_59_36-_etc_ansible_playbooks_jira-task-create_demo.sh - root@192.168.1.105 (inside-con-johnen.stefan.jpg

1 answer

Your script is not reading variables out - all I can think of is trying to escape the " as you build the Data variable.

I would comment out the curl lines and then debug the script, adding in

echo $KW

echo $DATA

So you can see what it is building before sending.

Suggest an answer

Log in or Sign up to answer
TAGS

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